﻿using Domain.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Domain.IRepositories
{
    public interface ILogRepository : IRepository<Log>
    {
        Log GetById(Int32 id);

        IQueryable<Log> GetAll(string key);
        IQueryable<Log> GetAll(string SearchKeyWords, int userid);

        IQueryable<Log> GetPageList(int userid, string SearchKeyWords, int PageSize, int PageCurrent, string OrderField, bool OrderDirection = true);
        bool AddOrUpdate(Log model);
        
    }
}
